home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS05.ADF / asm / asmsupp.i next >
Text File  |  1986-01-15  |  1KB  |  51 lines

  1.  
  2. * asmsupp.i AmigaLink 1/30/86
  3. *************************************************************************
  4. *                                            *
  5. *    Copyright (C) 1985, Commodore Amiga Inc.  All rights reserved.   *
  6. *                                            *
  7. *************************************************************************
  8.  
  9.  
  10. *************************************************************************
  11. *
  12. * asmsupp.i -- random low level assembly support routines
  13. *
  14. * Source Control
  15. * ------ -------
  16. * $Header: asmsupp.i,v 31.1 85/10/13 23:12:33 neil Exp $
  17. *
  18. * $Locker:  $
  19. *
  20. *************************************************************************
  21.  
  22. CLEAR     MACRO          ; quick way to clear a D register on 68000
  23.      MOVEQ     #0,\1
  24.      ENDM
  25.  
  26. BHS  MACRO
  27.      BCC.\0    \1
  28.      ENDM
  29.  
  30. BLO  MACRO
  31.      BCS.\0    \1
  32.      ENDM
  33.  
  34. EVEN MACRO          ; word align code stream
  35.      DS.W 0
  36.      ENDM
  37.  
  38. LINKSYS   MACRO          ; link to a library without having to see a _LVO
  39.      LINKLIB   _LVO\1,\2
  40.      ENDM
  41.  
  42. CALLSYS   MACRO          ; call a library without having to see _LVO
  43.      CALLLIB   _LVO\1
  44.      ENDM
  45.  
  46. XLIB MACRO          ; define a library reference without the _LVO
  47.      XREF _LVO\1
  48.      ENDM
  49.  
  50.